# -*- coding: utf-8 -*-
# !/usr/bin/env python

from django.urls import re_path
from components.deploy.apps_release.env_deploy_app import EnvDeployApp
from components.deploy.get_install_confs import GetInstallConfs
from components.deploy.k8s_release.k8s_conf import K8sConf
from components.deploy.k8s_release.k8s_conf_list import K8sConfList
from components.deploy.k8s_release.query_env_hosts_k8s import QueryEnvHostsK8s
from components.deploy.k8s_release.views import K8sRoleDeploy
from components.deploy.soft_release.update_soft_version import UpdateSoftVersion
from components.deploy.apps_release.views import DeployApp
from components.deploy.get_install_confs_require import GetInstallConfsRequire
from components.deploy.soft_release.env_deploy_soft import EnvDeploySoft
from components.deploy.soft_release.views import DeploySoft

urlpatterns = [
    re_path(r'env_deploy_app/', EnvDeployApp.as_view()),
    re_path(r'env_deploy_soft/', EnvDeploySoft.as_view()),
    re_path(r'deploy_app/', DeployApp.as_view()),
    re_path(r'deploy_soft/$', DeploySoft.as_view()),
    re_path(r'update_soft_version$', UpdateSoftVersion.as_view()),
    re_path(r'get_install_confs_require$', GetInstallConfsRequire.as_view()),
    re_path(r'get_install_confs$', GetInstallConfs.as_view()),
    re_path(r'k8s_role_deploy$', K8sRoleDeploy.as_view()),
    re_path(r'k8s_conf_list$', K8sConfList.as_view()),
    re_path(r'k8s_conf$', K8sConf.as_view()),
    re_path(r'query_env_hosts_k8s$', QueryEnvHostsK8s.as_view()),
]
